GET api/tt_doc_sa/booking-report-resume?branch_name={branch_name}&dates[0]={dates[0]}&dates[1]={dates[1]}&close_sesion_only={close_sesion_only}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branch_name

string

Required

dates

Collection of date

Required

close_sesion_only

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

Booking_Report_Resume_Response
NameDescriptionTypeAdditional information
list_sessions

Collection of Booking_Report_Session

None.

Response Formats

application/json, text/json

Sample:
{
  "list_sessions": [
    {
      "$id": "2",
      "id_pos_sesion": "eb725f3e-b4f0-45d6-98a1-dad95503f016",
      "nro_sesion": 2,
      "date_tax": "2026-11-05T05:40:00.0083113+01:00",
      "status_pos": 4,
      "date_open": "2026-11-05T05:40:00.0083113+01:00",
      "date_close": "2026-11-05T05:40:00.0083113+01:00",
      "event_locator": "sample string 6",
      "id_branch": "f7ab2f1e-0ae0-43cf-bce2-6698371d7d11",
      "branch_name": "sample string 8",
      "id_pos": "36e6eec3-67b3-43f9-9232-b6f65bcb6872",
      "pos_name": "sample string 10",
      "list_booking": [
        {
          "$id": "3",
          "id_pos_sesion": "0e64a243-b1f3-420c-adf3-1a2529876ac1",
          "id_room_unit_activity": "d6b2f2dc-0060-4668-b684-0814b6864b6f",
          "external_reserve_id": "sample string 3",
          "id_branch": "b5c66dab-c0ba-49a5-91dd-e4b90535ffef",
          "branch_name": "sample string 5",
          "id_pos": "bf6e1063-52ab-4f0d-9e32-07f6797f190d",
          "pos_name": "sample string 7",
          "id_room": "84b10eec-69a6-4244-a400-6c8af95e284f",
          "room_name": "sample string 9",
          "id_room_unit": "b424a4cf-91b5-442c-91a5-835587056627",
          "room_unit_name": "sample string 11",
          "pax": 12,
          "client_name": "sample string 13",
          "id_employee_rrpp": "f1772fdd-8023-4f05-b533-10ebf17ef114",
          "id_employee_rrpp_sec": "ddc174e6-a7ee-4ae8-bfee-0987938a1cf3",
          "employee_rrpp_name": "sample string 16",
          "employee_rrpp_name_sec": "sample string 17",
          "count_doc": 18,
          "amt_tot": 19.1,
          "send": true,
          "send_date": "2026-11-05T05:40:00.0083113+01:00",
          "list_doc_sale": [
            {
              "$id": "4",
              "id_doc_sa": "3ea8bf5a-a8ea-48e0-b2d6-d1d9395c4a0e",
              "id_doc": "564e71cb-8a67-4906-a1c6-c91c4f35d4be",
              "doc_name": "sample string 3",
              "doc_symbol": "sample string 4",
              "nro_doc": "sample string 5",
              "date_doc": "2026-11-05T05:40:00.0083113+01:00",
              "date_tax": "2026-11-05T05:40:00.0083113+01:00",
              "hour_doc": "00:00:00.1234567",
              "id_user": "5691bde1-bcde-4ba9-ae0c-914c06104d37",
              "user_name": "sample string 10",
              "amt_tot": 11.1,
              "amt_tot_doc": 12.1,
              "pay_type_name": "sample string 13",
              "list_det_doc": [
                {
                  "$id": "5",
                  "id_doc_sa": "dbc747ac-04af-405b-b3be-f88b1e4648df",
                  "id_line": 2,
                  "id_price_list": "7d0112c4-b0db-41e1-9a89-a7108a497415",
                  "id_item_sub": "799d2e7c-ebd8-4576-88f5-68cc144275fe",
                  "id_item": "90016c98-fa19-489f-8a27-afafa4df1cf3",
                  "item_name": "sample string 6",
                  "id_item_type": "17dd98bf-16b1-4c0c-846f-88e0a782f6b4",
                  "item_type_name": "sample string 8",
                  "unit_price": 9.1,
                  "unit_price_original": 10.1,
                  "qty_item": 11.1,
                  "amt_tot": 12.1
                },
                {
                  "$ref": "5"
                }
              ],
              "list_pay_doc": [
                {
                  "$id": "6",
                  "id_doc_sa": "6ae417ee-02a1-45ee-b9ab-a39565dd265a",
                  "id_line": 2,
                  "id_pay": "561f8047-c515-42db-b146-4d65a3fcc293",
                  "pay_name": "sample string 4",
                  "id_employee": "18707519-44b9-43e5-9387-8c55ac9862cf",
                  "employee_name": "sample string 5",
                  "id_money": "1bde15d0-5b60-438f-af6d-a3dd37c809cd",
                  "money_name": "sample string 7",
                  "symbol_money": "sample string 8",
                  "symbol_money_short": "sample string 9",
                  "amt_pay_mo": 10.1,
                  "amt_pay_md": 11.1
                },
                {
                  "$ref": "6"
                }
              ]
            },
            {
              "$ref": "4"
            }
          ],
          "list_pay_resume": [
            {
              "$id": "7",
              "id_pay": "2ea736c3-6865-4635-a713-adb067dd7d98",
              "pay_name": "sample string 2",
              "amt_tot": 3.1
            },
            {
              "$ref": "7"
            }
          ]
        },
        {
          "$ref": "3"
        }
      ],
      "list_zone_totals": [
        {
          "$id": "8",
          "date_tax": "2026-11-05T05:40:00.0083113+01:00",
          "id_room": "1bc3935d-0f11-44e7-b5ff-39521a05e492",
          "room_name": "sample string 3",
          "amt_cash_card": 4.1,
          "amt_entries": 5.1,
          "amt_advance": 6.1,
          "amt_office": 7.1,
          "amt_cup_supplement": 8.1,
          "amt_invitation_rrpp": 9.1,
          "pax": 10,
          "amt_average": 11.1,
          "amt_total": 12.1
        },
        {
          "$ref": "8"
        }
      ]
    },
    {
      "$ref": "2"
    }
  ]
}